#pragma glslify: perlin1 = require('glsl-noise/simplex/3d.glsl')  
#pragma glslify: perlin2 = require('glsl-noise/classic/3d.glsl')  
#pragma glslify: perlin3 = require('glsl-noise/periodic/3d.glsl')  
varying vec2 vUv;

uniform vec3 uColor;
uniform float uTime;
uniform float uSpeed;

void main() {  
    // float noiseValue = perlin(vec3(vUv * 4.0 + vec2(0.0, - uTime), uTime));
    float noiseValue = perlin1(vec3(vUv * 10.0, uTime));
    vec3 color1 = vec3(0.5, 0.5, 1.0);
    vec3 color2 = vec3(1.0, 1.0, 1.0);
    vec3 mixColor = mix(color1, color2, noiseValue);
    
    // gl_FragColor = vec4(mixColor, 0.5);
    gl_FragColor = vec4(mixColor, noiseValue);
}